<?php /* Smarty version 2.6.22, created on 2009-05-22 17:46:13
         compiled from myAdmin/tableTree.sm */ ?>
<ul class="tree<?php if ($this->_tpl_vars['child']): ?> child<?php endif; ?>">
<?php $_from = $this->_tpl_vars['tree']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['table']):
?>  
			<li><?php if ($this->_tpl_vars['table']['sub']): ?><a href="#" class="expand"><img src="/js/images/expand.png" border=0 width="16" height="16" style="margin-bottom: -4px;"></a><?php else: ?><img src="/js/images/px.gif" border=0 width="16" height="16"><?php endif; ?> 
              <span  style="cursor:pointer" onclick="ajaz('page=tableView&table=<?php echo $this->_tpl_vars['table']['tabl']; ?>
')" title="<?php echo $this->_tpl_vars['lg']['A_Structure']; ?>
" class="jcontext"><a><?php echo $this->_tpl_vars['table']['alias']; ?>
</a></span>
              <div class="right_options">
              <a title="<?php echo $this->_tpl_vars['lg']['A_browse']; ?>
" onclick="ajaz('page=tableInfo&table=<?php echo $this->_tpl_vars['table']['tabl']; ?>
')" ><img src="/js/images/pr.gif"/></a>
              <a title="<?php echo $this->_tpl_vars['lg']['A_add']; ?>
" onclick="ajaz('page=tableAddRow&table=<?php echo $this->_tpl_vars['table']['tabl']; ?>
')"><img src="/js/images/add.png"/></a>
              <a title="<?php echo $this->_tpl_vars['lg']['A_search']; ?>
" onclick="ajaz('page=tableSearch&table=<?php echo $this->_tpl_vars['table']['tabl']; ?>
')" ><img src="/js/images/se.gif"/></a>
              </div>
              <?php if ($this->_tpl_vars['table']['sub']): ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "myAdmin/tableTree.sm", 'smarty_include_vars' => array('tree' => $this->_tpl_vars['table']['sub'],'child' => true)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php endif; ?>
            </li>
<?php endforeach; endif; unset($_from); ?>
 </ul>